export default{
    state:()=>({
        todos:[
            {id:100,name:"吃饭",isDone:true},
            {id:101,name:"睡觉",isDone:false},
            {id:102,name:"打豆豆",isDone:true},
        ],
    }),
    mutations:{
        //子模块的mutation同步修改数据
    },
    actions:{},//处理异步任务
    getters:{}
}